package util;

public class Utils {
    static private Thread letResultShowUp;

    synchronized static public void letResultShowUp(){
        letResultShowUp = new Thread(()->{
            try {
                Thread.sleep(5000L);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        });
    }

    synchronized static public void waitSomeTime() {
        letResultShowUp.start();
        try {
            letResultShowUp.join();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
